import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;


public class Test {
	public static void main(String[] args) {
		/*boolean b = true?false:true;
		if(b == true?false:true){
			 System.out.println(b);
		}*/
		List<String> list = new ArrayList<String>();
				list.add("happy");
				list.add("birthday");
				list.add("to");
				list.add("you");
				for(Iterator<String> i= list.iterator();i.hasNext();){
					String s = i.next();
					System.out.println(s);
				}
	}
}
